@echo off
setlocal

set PROJECT_PATH=../..

set RESOURCES="%PROJECT_PATH%/workspace/Project/UI/resource;resource"
set DISTPATH=%PROJECT_PATH%/output/build/
set WORKPATH=%PROJECT_PATH%/output/build/build
SET SPECPATH=%PROJECT_PATH%/output/build/

echo pyinstaller --add-data %RESOURCES% --distpath=%DISTPATH% --workpath=%WORKPATH% --specpath=%SPECPATH% %PROJECT_PATH%/main.py

pyinstaller --add-data %RESOURCES% --distpath=%DISTPATH% --workpath=%WORKPATH% --specpath=%SPECPATH% %PROJECT_PATH%/main.py
